- if @registries.any?
  - @registries.each do |project_registry|
    .card.project-card.gl-mt-5
      .card-header{ id: "project-#{project_registry.project_id}-header" }
        .d-flex.align-items-center
          - if project_registry.project.nil?
            = render partial: 'removed', locals: { project_registry: project_registry }
          - else
            %strong.text-truncate.flex-fill
              = link_to project_registry.project.full_name, admin_namespace_project_path(project_registry.project.namespace, project_registry.project)
            - unless project_registry.pending_verification?
              = link_to(reverify_admin_geo_project_path(project_registry), method: :post, class: 'gl-button btn btn-default btn-sm gl-mr-3') do
                = s_('Geo|Reverify')
            - unless project_registry.resync_repository?
              = link_to(resync_admin_geo_project_path(project_registry), method: :post, class: 'gl-button btn btn-default-primary btn-sm') do
                = s_('Geo|Resync')

      = render partial: 'registry_pending', locals: { project_registry: project_registry }

  = paginate @registries, theme: 'gitlab'
- else
  = render 'shared/empty_states/geo_replication', replicable_type: _('projects'), has_filters: true
